import Vue from 'vue';
import VueRouter from 'vue-router';
import UserList from '@/components/UserList.vue';

Vue.use(VueRouter);

const routes = [
    { path: '/', component: UserList },
    // 其他路由配置
];

const router = new VueRouter({
    mode: 'history',
    routes
});

export default router;